<%--
  Created by IntelliJ IDEA.
  User: bobo
  Date: 16-10-27
  Time: 上午11:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <jsp:include page="../layout/head.jsp" >
        <jsp:param name="title" value="注册管理员" />
    </jsp:include>
</head>
<body>
<%--<div>--%>
    <%--<h1>注册管理员</h1>--%>
    <%--<form action="${pageContext.request.contextPath}/admin/add" method="post">--%>
        <%--用户名：<input type="text" name="name"><br>--%>
        <%--密 码：<input type="password" name="pwd"><br>--%>
        <%--级 别：--%>
        <%--<select name="level" class="input w50">--%>
            <%--<option value="0" selected>超级管理员</option>--%>
            <%--<option value="1">文章管理员</option>--%>
            <%--<option value="2">用户管理员</option>--%>
            <%--<option value="3">类别管理员</option>--%>
        <%--</select><br>--%>
        <%--<input type="submit" value="提交">--%>
    <%--</form>--%>
<%--</div>--%>
<div class="panel admin-panel">
    <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>注册管理员</strong></div>
    <div class="body-content">
        <form action="${pageContext.request.contextPath}/admin/add" method="post" class="form-x">
            <div class="form-group">
                <div class="label">
                    <label>用户名：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" value="" name="name" data-validate="required:请输入名称" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>密 码：</label>
                </div>
                <div class="field">
                    <input type="password" class="input w50" value="" name="pwd" data-validate="required:请输入密码" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>密 码：</label>
                </div>
                <div class="field">
                    <input type="password" class="input w50" value="" name="pwd1" data-validate="required:请输入密码" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>选择级别：</label>
                </div>
                <div class="field">
                    <select name="level" class="input w50">
                        <option value="0" selected>超级管理员</option>
                        <option value="1">文章管理员</option>
                        <option value="2">用户管理员</option>
                        <option value="3">类别管理员</option>
                    </select>
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label></label>
                </div>
                <div class="field">
                    <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
                </div>
            </div>
        </form>
    </div>
</div>
</body>
</html>
